package com.demo.demo01.mapper;

import com.demo.demo01.pojo.Comment;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CommentMapper {

    List<Comment> queryComment();

    Comment queryCommentByCode(String code);

    int addComment(Comment comment);

    int deleteComment(String code);

    int countComment();

}
